package com.gmq.chapter01;

/**
 * Created by gmq on 2017/08/08.
 *
 * @version 1.0
 * @since 2017/08/08 15:45
 */
public class MyRunnable01 implements Runnable {

    @Override
    public void run() {
        System.out.println("运行中！");
        int i = 0;
        if (true) {
            return;
        }
        while (true) {
            try {
                Thread.sleep(1000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
            System.out.println("运行run方法");
        }
    }
}
